package com.pc.ssm.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PageModuleExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PageModuleExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("Id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("Id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("Id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("Id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("Id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("Id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("Id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("Id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("Id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("Id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("Id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("Id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTemplateidIsNull() {
            addCriterion("TemplateId is null");
            return (Criteria) this;
        }

        public Criteria andTemplateidIsNotNull() {
            addCriterion("TemplateId is not null");
            return (Criteria) this;
        }

        public Criteria andTemplateidEqualTo(Long value) {
            addCriterion("TemplateId =", value, "templateid");
            return (Criteria) this;
        }

        public Criteria andTemplateidNotEqualTo(Long value) {
            addCriterion("TemplateId <>", value, "templateid");
            return (Criteria) this;
        }

        public Criteria andTemplateidGreaterThan(Long value) {
            addCriterion("TemplateId >", value, "templateid");
            return (Criteria) this;
        }

        public Criteria andTemplateidGreaterThanOrEqualTo(Long value) {
            addCriterion("TemplateId >=", value, "templateid");
            return (Criteria) this;
        }

        public Criteria andTemplateidLessThan(Long value) {
            addCriterion("TemplateId <", value, "templateid");
            return (Criteria) this;
        }

        public Criteria andTemplateidLessThanOrEqualTo(Long value) {
            addCriterion("TemplateId <=", value, "templateid");
            return (Criteria) this;
        }

        public Criteria andTemplateidIn(List<Long> values) {
            addCriterion("TemplateId in", values, "templateid");
            return (Criteria) this;
        }

        public Criteria andTemplateidNotIn(List<Long> values) {
            addCriterion("TemplateId not in", values, "templateid");
            return (Criteria) this;
        }

        public Criteria andTemplateidBetween(Long value1, Long value2) {
            addCriterion("TemplateId between", value1, value2, "templateid");
            return (Criteria) this;
        }

        public Criteria andTemplateidNotBetween(Long value1, Long value2) {
            addCriterion("TemplateId not between", value1, value2, "templateid");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("Name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("Name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("Name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("Name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("Name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("Name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("Name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("Name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("Name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("Name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("Name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("Name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("Name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("Name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("Type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("Type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("Type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("Type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("Type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("Type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("Type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("Type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("Type like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("Type not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("Type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("Type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("Type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("Type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andLevelIsNull() {
            addCriterion("Level is null");
            return (Criteria) this;
        }

        public Criteria andLevelIsNotNull() {
            addCriterion("Level is not null");
            return (Criteria) this;
        }

        public Criteria andLevelEqualTo(Integer value) {
            addCriterion("Level =", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotEqualTo(Integer value) {
            addCriterion("Level <>", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThan(Integer value) {
            addCriterion("Level >", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("Level >=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThan(Integer value) {
            addCriterion("Level <", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThanOrEqualTo(Integer value) {
            addCriterion("Level <=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelIn(List<Integer> values) {
            addCriterion("Level in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotIn(List<Integer> values) {
            addCriterion("Level not in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelBetween(Integer value1, Integer value2) {
            addCriterion("Level between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("Level not between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andShowtypeIsNull() {
            addCriterion("ShowType is null");
            return (Criteria) this;
        }

        public Criteria andShowtypeIsNotNull() {
            addCriterion("ShowType is not null");
            return (Criteria) this;
        }

        public Criteria andShowtypeEqualTo(String value) {
            addCriterion("ShowType =", value, "showtype");
            return (Criteria) this;
        }

        public Criteria andShowtypeNotEqualTo(String value) {
            addCriterion("ShowType <>", value, "showtype");
            return (Criteria) this;
        }

        public Criteria andShowtypeGreaterThan(String value) {
            addCriterion("ShowType >", value, "showtype");
            return (Criteria) this;
        }

        public Criteria andShowtypeGreaterThanOrEqualTo(String value) {
            addCriterion("ShowType >=", value, "showtype");
            return (Criteria) this;
        }

        public Criteria andShowtypeLessThan(String value) {
            addCriterion("ShowType <", value, "showtype");
            return (Criteria) this;
        }

        public Criteria andShowtypeLessThanOrEqualTo(String value) {
            addCriterion("ShowType <=", value, "showtype");
            return (Criteria) this;
        }

        public Criteria andShowtypeLike(String value) {
            addCriterion("ShowType like", value, "showtype");
            return (Criteria) this;
        }

        public Criteria andShowtypeNotLike(String value) {
            addCriterion("ShowType not like", value, "showtype");
            return (Criteria) this;
        }

        public Criteria andShowtypeIn(List<String> values) {
            addCriterion("ShowType in", values, "showtype");
            return (Criteria) this;
        }

        public Criteria andShowtypeNotIn(List<String> values) {
            addCriterion("ShowType not in", values, "showtype");
            return (Criteria) this;
        }

        public Criteria andShowtypeBetween(String value1, String value2) {
            addCriterion("ShowType between", value1, value2, "showtype");
            return (Criteria) this;
        }

        public Criteria andShowtypeNotBetween(String value1, String value2) {
            addCriterion("ShowType not between", value1, value2, "showtype");
            return (Criteria) this;
        }

        public Criteria andSortIsNull() {
            addCriterion("Sort is null");
            return (Criteria) this;
        }

        public Criteria andSortIsNotNull() {
            addCriterion("Sort is not null");
            return (Criteria) this;
        }

        public Criteria andSortEqualTo(Integer value) {
            addCriterion("Sort =", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotEqualTo(Integer value) {
            addCriterion("Sort <>", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortGreaterThan(Integer value) {
            addCriterion("Sort >", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortGreaterThanOrEqualTo(Integer value) {
            addCriterion("Sort >=", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortLessThan(Integer value) {
            addCriterion("Sort <", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortLessThanOrEqualTo(Integer value) {
            addCriterion("Sort <=", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortIn(List<Integer> values) {
            addCriterion("Sort in", values, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotIn(List<Integer> values) {
            addCriterion("Sort not in", values, "sort");
            return (Criteria) this;
        }

        public Criteria andSortBetween(Integer value1, Integer value2) {
            addCriterion("Sort between", value1, value2, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotBetween(Integer value1, Integer value2) {
            addCriterion("Sort not between", value1, value2, "sort");
            return (Criteria) this;
        }

        public Criteria andPaddingIsNull() {
            addCriterion("Padding is null");
            return (Criteria) this;
        }

        public Criteria andPaddingIsNotNull() {
            addCriterion("Padding is not null");
            return (Criteria) this;
        }

        public Criteria andPaddingEqualTo(String value) {
            addCriterion("Padding =", value, "padding");
            return (Criteria) this;
        }

        public Criteria andPaddingNotEqualTo(String value) {
            addCriterion("Padding <>", value, "padding");
            return (Criteria) this;
        }

        public Criteria andPaddingGreaterThan(String value) {
            addCriterion("Padding >", value, "padding");
            return (Criteria) this;
        }

        public Criteria andPaddingGreaterThanOrEqualTo(String value) {
            addCriterion("Padding >=", value, "padding");
            return (Criteria) this;
        }

        public Criteria andPaddingLessThan(String value) {
            addCriterion("Padding <", value, "padding");
            return (Criteria) this;
        }

        public Criteria andPaddingLessThanOrEqualTo(String value) {
            addCriterion("Padding <=", value, "padding");
            return (Criteria) this;
        }

        public Criteria andPaddingLike(String value) {
            addCriterion("Padding like", value, "padding");
            return (Criteria) this;
        }

        public Criteria andPaddingNotLike(String value) {
            addCriterion("Padding not like", value, "padding");
            return (Criteria) this;
        }

        public Criteria andPaddingIn(List<String> values) {
            addCriterion("Padding in", values, "padding");
            return (Criteria) this;
        }

        public Criteria andPaddingNotIn(List<String> values) {
            addCriterion("Padding not in", values, "padding");
            return (Criteria) this;
        }

        public Criteria andPaddingBetween(String value1, String value2) {
            addCriterion("Padding between", value1, value2, "padding");
            return (Criteria) this;
        }

        public Criteria andPaddingNotBetween(String value1, String value2) {
            addCriterion("Padding not between", value1, value2, "padding");
            return (Criteria) this;
        }

        public Criteria andBackcolorIsNull() {
            addCriterion("BackColor is null");
            return (Criteria) this;
        }

        public Criteria andBackcolorIsNotNull() {
            addCriterion("BackColor is not null");
            return (Criteria) this;
        }

        public Criteria andBackcolorEqualTo(String value) {
            addCriterion("BackColor =", value, "backcolor");
            return (Criteria) this;
        }

        public Criteria andBackcolorNotEqualTo(String value) {
            addCriterion("BackColor <>", value, "backcolor");
            return (Criteria) this;
        }

        public Criteria andBackcolorGreaterThan(String value) {
            addCriterion("BackColor >", value, "backcolor");
            return (Criteria) this;
        }

        public Criteria andBackcolorGreaterThanOrEqualTo(String value) {
            addCriterion("BackColor >=", value, "backcolor");
            return (Criteria) this;
        }

        public Criteria andBackcolorLessThan(String value) {
            addCriterion("BackColor <", value, "backcolor");
            return (Criteria) this;
        }

        public Criteria andBackcolorLessThanOrEqualTo(String value) {
            addCriterion("BackColor <=", value, "backcolor");
            return (Criteria) this;
        }

        public Criteria andBackcolorLike(String value) {
            addCriterion("BackColor like", value, "backcolor");
            return (Criteria) this;
        }

        public Criteria andBackcolorNotLike(String value) {
            addCriterion("BackColor not like", value, "backcolor");
            return (Criteria) this;
        }

        public Criteria andBackcolorIn(List<String> values) {
            addCriterion("BackColor in", values, "backcolor");
            return (Criteria) this;
        }

        public Criteria andBackcolorNotIn(List<String> values) {
            addCriterion("BackColor not in", values, "backcolor");
            return (Criteria) this;
        }

        public Criteria andBackcolorBetween(String value1, String value2) {
            addCriterion("BackColor between", value1, value2, "backcolor");
            return (Criteria) this;
        }

        public Criteria andBackcolorNotBetween(String value1, String value2) {
            addCriterion("BackColor not between", value1, value2, "backcolor");
            return (Criteria) this;
        }

        public Criteria andTitleisshowIsNull() {
            addCriterion("TitleIsShow is null");
            return (Criteria) this;
        }

        public Criteria andTitleisshowIsNotNull() {
            addCriterion("TitleIsShow is not null");
            return (Criteria) this;
        }

        public Criteria andTitleisshowEqualTo(Boolean value) {
            addCriterion("TitleIsShow =", value, "titleisshow");
            return (Criteria) this;
        }

        public Criteria andTitleisshowNotEqualTo(Boolean value) {
            addCriterion("TitleIsShow <>", value, "titleisshow");
            return (Criteria) this;
        }

        public Criteria andTitleisshowGreaterThan(Boolean value) {
            addCriterion("TitleIsShow >", value, "titleisshow");
            return (Criteria) this;
        }

        public Criteria andTitleisshowGreaterThanOrEqualTo(Boolean value) {
            addCriterion("TitleIsShow >=", value, "titleisshow");
            return (Criteria) this;
        }

        public Criteria andTitleisshowLessThan(Boolean value) {
            addCriterion("TitleIsShow <", value, "titleisshow");
            return (Criteria) this;
        }

        public Criteria andTitleisshowLessThanOrEqualTo(Boolean value) {
            addCriterion("TitleIsShow <=", value, "titleisshow");
            return (Criteria) this;
        }

        public Criteria andTitleisshowIn(List<Boolean> values) {
            addCriterion("TitleIsShow in", values, "titleisshow");
            return (Criteria) this;
        }

        public Criteria andTitleisshowNotIn(List<Boolean> values) {
            addCriterion("TitleIsShow not in", values, "titleisshow");
            return (Criteria) this;
        }

        public Criteria andTitleisshowBetween(Boolean value1, Boolean value2) {
            addCriterion("TitleIsShow between", value1, value2, "titleisshow");
            return (Criteria) this;
        }

        public Criteria andTitleisshowNotBetween(Boolean value1, Boolean value2) {
            addCriterion("TitleIsShow not between", value1, value2, "titleisshow");
            return (Criteria) this;
        }

        public Criteria andTitlecolorIsNull() {
            addCriterion("TitleColor is null");
            return (Criteria) this;
        }

        public Criteria andTitlecolorIsNotNull() {
            addCriterion("TitleColor is not null");
            return (Criteria) this;
        }

        public Criteria andTitlecolorEqualTo(String value) {
            addCriterion("TitleColor =", value, "titlecolor");
            return (Criteria) this;
        }

        public Criteria andTitlecolorNotEqualTo(String value) {
            addCriterion("TitleColor <>", value, "titlecolor");
            return (Criteria) this;
        }

        public Criteria andTitlecolorGreaterThan(String value) {
            addCriterion("TitleColor >", value, "titlecolor");
            return (Criteria) this;
        }

        public Criteria andTitlecolorGreaterThanOrEqualTo(String value) {
            addCriterion("TitleColor >=", value, "titlecolor");
            return (Criteria) this;
        }

        public Criteria andTitlecolorLessThan(String value) {
            addCriterion("TitleColor <", value, "titlecolor");
            return (Criteria) this;
        }

        public Criteria andTitlecolorLessThanOrEqualTo(String value) {
            addCriterion("TitleColor <=", value, "titlecolor");
            return (Criteria) this;
        }

        public Criteria andTitlecolorLike(String value) {
            addCriterion("TitleColor like", value, "titlecolor");
            return (Criteria) this;
        }

        public Criteria andTitlecolorNotLike(String value) {
            addCriterion("TitleColor not like", value, "titlecolor");
            return (Criteria) this;
        }

        public Criteria andTitlecolorIn(List<String> values) {
            addCriterion("TitleColor in", values, "titlecolor");
            return (Criteria) this;
        }

        public Criteria andTitlecolorNotIn(List<String> values) {
            addCriterion("TitleColor not in", values, "titlecolor");
            return (Criteria) this;
        }

        public Criteria andTitlecolorBetween(String value1, String value2) {
            addCriterion("TitleColor between", value1, value2, "titlecolor");
            return (Criteria) this;
        }

        public Criteria andTitlecolorNotBetween(String value1, String value2) {
            addCriterion("TitleColor not between", value1, value2, "titlecolor");
            return (Criteria) this;
        }

        public Criteria andTitlebackcolorIsNull() {
            addCriterion("TitleBackColor is null");
            return (Criteria) this;
        }

        public Criteria andTitlebackcolorIsNotNull() {
            addCriterion("TitleBackColor is not null");
            return (Criteria) this;
        }

        public Criteria andTitlebackcolorEqualTo(String value) {
            addCriterion("TitleBackColor =", value, "titlebackcolor");
            return (Criteria) this;
        }

        public Criteria andTitlebackcolorNotEqualTo(String value) {
            addCriterion("TitleBackColor <>", value, "titlebackcolor");
            return (Criteria) this;
        }

        public Criteria andTitlebackcolorGreaterThan(String value) {
            addCriterion("TitleBackColor >", value, "titlebackcolor");
            return (Criteria) this;
        }

        public Criteria andTitlebackcolorGreaterThanOrEqualTo(String value) {
            addCriterion("TitleBackColor >=", value, "titlebackcolor");
            return (Criteria) this;
        }

        public Criteria andTitlebackcolorLessThan(String value) {
            addCriterion("TitleBackColor <", value, "titlebackcolor");
            return (Criteria) this;
        }

        public Criteria andTitlebackcolorLessThanOrEqualTo(String value) {
            addCriterion("TitleBackColor <=", value, "titlebackcolor");
            return (Criteria) this;
        }

        public Criteria andTitlebackcolorLike(String value) {
            addCriterion("TitleBackColor like", value, "titlebackcolor");
            return (Criteria) this;
        }

        public Criteria andTitlebackcolorNotLike(String value) {
            addCriterion("TitleBackColor not like", value, "titlebackcolor");
            return (Criteria) this;
        }

        public Criteria andTitlebackcolorIn(List<String> values) {
            addCriterion("TitleBackColor in", values, "titlebackcolor");
            return (Criteria) this;
        }

        public Criteria andTitlebackcolorNotIn(List<String> values) {
            addCriterion("TitleBackColor not in", values, "titlebackcolor");
            return (Criteria) this;
        }

        public Criteria andTitlebackcolorBetween(String value1, String value2) {
            addCriterion("TitleBackColor between", value1, value2, "titlebackcolor");
            return (Criteria) this;
        }

        public Criteria andTitlebackcolorNotBetween(String value1, String value2) {
            addCriterion("TitleBackColor not between", value1, value2, "titlebackcolor");
            return (Criteria) this;
        }

        public Criteria andCompanycodeIsNull() {
            addCriterion("CompanyCode is null");
            return (Criteria) this;
        }

        public Criteria andCompanycodeIsNotNull() {
            addCriterion("CompanyCode is not null");
            return (Criteria) this;
        }

        public Criteria andCompanycodeEqualTo(String value) {
            addCriterion("CompanyCode =", value, "companycode");
            return (Criteria) this;
        }

        public Criteria andCompanycodeNotEqualTo(String value) {
            addCriterion("CompanyCode <>", value, "companycode");
            return (Criteria) this;
        }

        public Criteria andCompanycodeGreaterThan(String value) {
            addCriterion("CompanyCode >", value, "companycode");
            return (Criteria) this;
        }

        public Criteria andCompanycodeGreaterThanOrEqualTo(String value) {
            addCriterion("CompanyCode >=", value, "companycode");
            return (Criteria) this;
        }

        public Criteria andCompanycodeLessThan(String value) {
            addCriterion("CompanyCode <", value, "companycode");
            return (Criteria) this;
        }

        public Criteria andCompanycodeLessThanOrEqualTo(String value) {
            addCriterion("CompanyCode <=", value, "companycode");
            return (Criteria) this;
        }

        public Criteria andCompanycodeLike(String value) {
            addCriterion("CompanyCode like", value, "companycode");
            return (Criteria) this;
        }

        public Criteria andCompanycodeNotLike(String value) {
            addCriterion("CompanyCode not like", value, "companycode");
            return (Criteria) this;
        }

        public Criteria andCompanycodeIn(List<String> values) {
            addCriterion("CompanyCode in", values, "companycode");
            return (Criteria) this;
        }

        public Criteria andCompanycodeNotIn(List<String> values) {
            addCriterion("CompanyCode not in", values, "companycode");
            return (Criteria) this;
        }

        public Criteria andCompanycodeBetween(String value1, String value2) {
            addCriterion("CompanyCode between", value1, value2, "companycode");
            return (Criteria) this;
        }

        public Criteria andCompanycodeNotBetween(String value1, String value2) {
            addCriterion("CompanyCode not between", value1, value2, "companycode");
            return (Criteria) this;
        }

        public Criteria andVersionIsNull() {
            addCriterion("Version is null");
            return (Criteria) this;
        }

        public Criteria andVersionIsNotNull() {
            addCriterion("Version is not null");
            return (Criteria) this;
        }

        public Criteria andVersionEqualTo(String value) {
            addCriterion("Version =", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotEqualTo(String value) {
            addCriterion("Version <>", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThan(String value) {
            addCriterion("Version >", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThanOrEqualTo(String value) {
            addCriterion("Version >=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThan(String value) {
            addCriterion("Version <", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThanOrEqualTo(String value) {
            addCriterion("Version <=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLike(String value) {
            addCriterion("Version like", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotLike(String value) {
            addCriterion("Version not like", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionIn(List<String> values) {
            addCriterion("Version in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotIn(List<String> values) {
            addCriterion("Version not in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionBetween(String value1, String value2) {
            addCriterion("Version between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotBetween(String value1, String value2) {
            addCriterion("Version not between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andCreatedIsNull() {
            addCriterion("Created is null");
            return (Criteria) this;
        }

        public Criteria andCreatedIsNotNull() {
            addCriterion("Created is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedEqualTo(Date value) {
            addCriterion("Created =", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedNotEqualTo(Date value) {
            addCriterion("Created <>", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedGreaterThan(Date value) {
            addCriterion("Created >", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedGreaterThanOrEqualTo(Date value) {
            addCriterion("Created >=", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedLessThan(Date value) {
            addCriterion("Created <", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedLessThanOrEqualTo(Date value) {
            addCriterion("Created <=", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedIn(List<Date> values) {
            addCriterion("Created in", values, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedNotIn(List<Date> values) {
            addCriterion("Created not in", values, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedBetween(Date value1, Date value2) {
            addCriterion("Created between", value1, value2, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedNotBetween(Date value1, Date value2) {
            addCriterion("Created not between", value1, value2, "created");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}